﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ucAlerta.ascx.vb" Inherits="incidencias_ucAlerta" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<script type="text/javascript">
    function jsf_redirec(url) {
        location.href = url;
    }
</script>

<asp:Button ID="ButtonAlerta" runat="server" Text="Button" style="display:none"/>
<asp:Panel ID="PNLAlerta" runat="server" SkinID="modal" Width="400px" Style="background-color: White; border-width: 2px; border-color: Black; border-style: solid; padding: 20px;"
    Direction="LeftToRight"
    HorizontalAlign="Center">    
    <div class="frame">
        <div class="container" style="width: 400px;">
            <div id="div_titulo" runat="server" class="header">
                <div class="msg">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <asp:Label ID="lblTituloAlerta" runat="server" Text="titulo"></asp:Label>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
                <asp:LinkButton ID="lkbCancelarAlerta" runat="server" CssClass="close" />
            </div>
            <div class="body" id="divMensajeAlerta">
                <asp:UpdatePanel ID="upl_tetxt" runat="server">
                    <ContentTemplate>
                        <asp:Label ID="lblMensajeAlerta" runat="server" Text="mensaje" Height="6%"
                            Width="100%"></asp:Label>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:GridView ID="gv_faltantes" runat="server" GridLines="None" Visible="true"
                    Style="display: none; text-align: left" ShowHeader="False" Width="300px">
                </asp:GridView>
                <asp:GridView ID="gvposible" runat="server" GridLines="None" Visible="true"
                    Style="display: none; text-align: left" ShowHeader="False" Width="600px"
                    CssClass="grid">
                </asp:GridView>
            </div>
            <div class="footer">
                <div class="right" align="center">
                    <asp:Button ID="btnSiAlerta" runat="server" Text=" Aceptar " />

                </div>
            </div>
        </div>
    </div>
</asp:Panel>
 <cc1:ModalPopupExtender ID="mpeMensajeAlerta" runat="server" BackgroundCssClass="modalBackground"
        DynamicServicePath="" Enabled="True" CancelControlID="btnSiAlerta" 
        PopupControlID="PNLAlerta" TargetControlID="ButtonAlerta" PopupDragHandleControlID="div_titulo">
    </cc1:ModalPopupExtender>
    
 <asp:Button ID="btn_error" runat="server" Text="Button" style="display:none"/>
 <asp:Panel ID="pnl_error" runat="server" SkinID="modal" Style="display: none;width: 400px;
        background-color: White; border-width: 2px; border-color: Black; border-style: solid;
        padding: 20px;"><%--400px--%>
        <div class="frame">
            <div class="container" style="width: 400px;">
                <div id="div_errortit" runat="server" class="header">
                    <div class="msg">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            <asp:Label ID="lbl_errortit" runat="server" Text="titulo"></asp:Label>
                        </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <asp:LinkButton ID="lbn_errorclose" runat="server" CssClass="close" />
                </div>
                <div class="body" id="div2" >
                    <h2 style="text-align: left;">
                        &nbsp;<asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <asp:Label ID="lbl_errormsg" runat="server" Text="mensaje"></asp:Label>
                                <br />
                                <%--<input type="hidden" id="hdd_msgerror" runat="server" value="" />--%>
                                <%--<input type="hidden" id="hdd_detalles" runat="server" value="" />--%>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <h2>
                        </h2>
                        <h2>
                        </h2>
                        <h2>
                        </h2>
                    </h2>
                </div>
                <div class="footer">
                    <div class="right">
                        <asp:Button ID="btn_errorcontinuar" runat="server" Text=" Aceptar "/>
                    </div>
                </div>
            </div>
        </div>
    </asp:Panel>
    <cc1:ModalPopupExtender ID="mpe_error" runat="server" BackgroundCssClass="modalBackground"
        DynamicServicePath="" Enabled="True" CancelControlID="lbn_errorclose" OkControlID="btn_errorcontinuar" 
        PopupControlID="pnl_error" TargetControlID="btn_error" PopupDragHandleControlID="div_errortit">
    </cc1:ModalPopupExtender> 
